/**
 * 
 */
package org.softTank.BC.rs.bean;

import java.util.List;

import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author Yuzone
 *
 */
@XmlRootElement(name = "role")
public class RoleBean {

	private String name;
	private Long id;
	private String isBranch;
	private String portType;
	private List<OperationBean> operation;

	@XmlAttribute
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@XmlAttribute
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@XmlAttribute
	public String getIsBranch() {
		return isBranch;
	}

	public void setIsBranch(String isBranch) {
		this.isBranch = isBranch;
	}

	@XmlAttribute
	public String getPortType() {
		return portType;
	}

	public void setPortType(String portType) {
		this.portType = portType;
	}

	@XmlElement
	public List<OperationBean> getOperation() {
		return operation;
	}

	public void setOperation(List<OperationBean> operation) {
		this.operation = operation;
	}
}
